package com.rc.evcharger.model.member;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MemberAccountExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MemberAccountExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andAccountIsNull() {
            addCriterion("account is null");
            return (Criteria) this;
        }

        public Criteria andAccountIsNotNull() {
            addCriterion("account is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEqualTo(BigDecimal value) {
            addCriterion("account =", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotEqualTo(BigDecimal value) {
            addCriterion("account <>", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThan(BigDecimal value) {
            addCriterion("account >", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("account >=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThan(BigDecimal value) {
            addCriterion("account <", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("account <=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountIn(List<BigDecimal> values) {
            addCriterion("account in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotIn(List<BigDecimal> values) {
            addCriterion("account not in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("account between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("account not between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andGiveAccountIsNull() {
            addCriterion("give_account is null");
            return (Criteria) this;
        }

        public Criteria andGiveAccountIsNotNull() {
            addCriterion("give_account is not null");
            return (Criteria) this;
        }

        public Criteria andGiveAccountEqualTo(BigDecimal value) {
            addCriterion("give_account =", value, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountNotEqualTo(BigDecimal value) {
            addCriterion("give_account <>", value, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountGreaterThan(BigDecimal value) {
            addCriterion("give_account >", value, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("give_account >=", value, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountLessThan(BigDecimal value) {
            addCriterion("give_account <", value, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("give_account <=", value, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountIn(List<BigDecimal> values) {
            addCriterion("give_account in", values, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountNotIn(List<BigDecimal> values) {
            addCriterion("give_account not in", values, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("give_account between", value1, value2, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andGiveAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("give_account not between", value1, value2, "giveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountIsNull() {
            addCriterion("frozen_give_account is null");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountIsNotNull() {
            addCriterion("frozen_give_account is not null");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountEqualTo(BigDecimal value) {
            addCriterion("frozen_give_account =", value, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountNotEqualTo(BigDecimal value) {
            addCriterion("frozen_give_account <>", value, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountGreaterThan(BigDecimal value) {
            addCriterion("frozen_give_account >", value, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("frozen_give_account >=", value, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountLessThan(BigDecimal value) {
            addCriterion("frozen_give_account <", value, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("frozen_give_account <=", value, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountIn(List<BigDecimal> values) {
            addCriterion("frozen_give_account in", values, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountNotIn(List<BigDecimal> values) {
            addCriterion("frozen_give_account not in", values, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("frozen_give_account between", value1, value2, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andFrozenGiveAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("frozen_give_account not between", value1, value2, "frozenGiveAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountIsNull() {
            addCriterion("enterprise_account is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountIsNotNull() {
            addCriterion("enterprise_account is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountEqualTo(BigDecimal value) {
            addCriterion("enterprise_account =", value, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountNotEqualTo(BigDecimal value) {
            addCriterion("enterprise_account <>", value, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountGreaterThan(BigDecimal value) {
            addCriterion("enterprise_account >", value, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("enterprise_account >=", value, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountLessThan(BigDecimal value) {
            addCriterion("enterprise_account <", value, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("enterprise_account <=", value, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountIn(List<BigDecimal> values) {
            addCriterion("enterprise_account in", values, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountNotIn(List<BigDecimal> values) {
            addCriterion("enterprise_account not in", values, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("enterprise_account between", value1, value2, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andEnterpriseAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("enterprise_account not between", value1, value2, "enterpriseAccount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountIsNull() {
            addCriterion("all_transfer_amount is null");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountIsNotNull() {
            addCriterion("all_transfer_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountEqualTo(BigDecimal value) {
            addCriterion("all_transfer_amount =", value, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountNotEqualTo(BigDecimal value) {
            addCriterion("all_transfer_amount <>", value, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountGreaterThan(BigDecimal value) {
            addCriterion("all_transfer_amount >", value, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("all_transfer_amount >=", value, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountLessThan(BigDecimal value) {
            addCriterion("all_transfer_amount <", value, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("all_transfer_amount <=", value, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountIn(List<BigDecimal> values) {
            addCriterion("all_transfer_amount in", values, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountNotIn(List<BigDecimal> values) {
            addCriterion("all_transfer_amount not in", values, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_transfer_amount between", value1, value2, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllTransferAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_transfer_amount not between", value1, value2, "allTransferAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountIsNull() {
            addCriterion("all_recharge_amount is null");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountIsNotNull() {
            addCriterion("all_recharge_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountEqualTo(BigDecimal value) {
            addCriterion("all_recharge_amount =", value, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountNotEqualTo(BigDecimal value) {
            addCriterion("all_recharge_amount <>", value, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountGreaterThan(BigDecimal value) {
            addCriterion("all_recharge_amount >", value, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("all_recharge_amount >=", value, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountLessThan(BigDecimal value) {
            addCriterion("all_recharge_amount <", value, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("all_recharge_amount <=", value, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountIn(List<BigDecimal> values) {
            addCriterion("all_recharge_amount in", values, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountNotIn(List<BigDecimal> values) {
            addCriterion("all_recharge_amount not in", values, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_recharge_amount between", value1, value2, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllRechargeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_recharge_amount not between", value1, value2, "allRechargeAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountIsNull() {
            addCriterion("all_order_amount is null");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountIsNotNull() {
            addCriterion("all_order_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountEqualTo(BigDecimal value) {
            addCriterion("all_order_amount =", value, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountNotEqualTo(BigDecimal value) {
            addCriterion("all_order_amount <>", value, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountGreaterThan(BigDecimal value) {
            addCriterion("all_order_amount >", value, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("all_order_amount >=", value, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountLessThan(BigDecimal value) {
            addCriterion("all_order_amount <", value, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("all_order_amount <=", value, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountIn(List<BigDecimal> values) {
            addCriterion("all_order_amount in", values, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountNotIn(List<BigDecimal> values) {
            addCriterion("all_order_amount not in", values, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_order_amount between", value1, value2, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andAllOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_order_amount not between", value1, value2, "allOrderAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountIsNull() {
            addCriterion("income_amount is null");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountIsNotNull() {
            addCriterion("income_amount is not null");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountEqualTo(BigDecimal value) {
            addCriterion("income_amount =", value, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountNotEqualTo(BigDecimal value) {
            addCriterion("income_amount <>", value, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountGreaterThan(BigDecimal value) {
            addCriterion("income_amount >", value, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("income_amount >=", value, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountLessThan(BigDecimal value) {
            addCriterion("income_amount <", value, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("income_amount <=", value, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountIn(List<BigDecimal> values) {
            addCriterion("income_amount in", values, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountNotIn(List<BigDecimal> values) {
            addCriterion("income_amount not in", values, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("income_amount between", value1, value2, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andIncomeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("income_amount not between", value1, value2, "incomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountIsNull() {
            addCriterion("all_income_amount is null");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountIsNotNull() {
            addCriterion("all_income_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountEqualTo(BigDecimal value) {
            addCriterion("all_income_amount =", value, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountNotEqualTo(BigDecimal value) {
            addCriterion("all_income_amount <>", value, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountGreaterThan(BigDecimal value) {
            addCriterion("all_income_amount >", value, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("all_income_amount >=", value, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountLessThan(BigDecimal value) {
            addCriterion("all_income_amount <", value, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("all_income_amount <=", value, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountIn(List<BigDecimal> values) {
            addCriterion("all_income_amount in", values, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountNotIn(List<BigDecimal> values) {
            addCriterion("all_income_amount not in", values, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_income_amount between", value1, value2, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andAllIncomeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_income_amount not between", value1, value2, "allIncomeAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountIsNull() {
            addCriterion("member_level_amount is null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountIsNotNull() {
            addCriterion("member_level_amount is not null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountEqualTo(BigDecimal value) {
            addCriterion("member_level_amount =", value, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountNotEqualTo(BigDecimal value) {
            addCriterion("member_level_amount <>", value, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountGreaterThan(BigDecimal value) {
            addCriterion("member_level_amount >", value, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("member_level_amount >=", value, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountLessThan(BigDecimal value) {
            addCriterion("member_level_amount <", value, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("member_level_amount <=", value, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountIn(List<BigDecimal> values) {
            addCriterion("member_level_amount in", values, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountNotIn(List<BigDecimal> values) {
            addCriterion("member_level_amount not in", values, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("member_level_amount between", value1, value2, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andMemberLevelAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("member_level_amount not between", value1, value2, "memberLevelAmount");
            return (Criteria) this;
        }

        public Criteria andPointIsNull() {
            addCriterion("point is null");
            return (Criteria) this;
        }

        public Criteria andPointIsNotNull() {
            addCriterion("point is not null");
            return (Criteria) this;
        }

        public Criteria andPointEqualTo(Integer value) {
            addCriterion("point =", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotEqualTo(Integer value) {
            addCriterion("point <>", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointGreaterThan(Integer value) {
            addCriterion("point >", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("point >=", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointLessThan(Integer value) {
            addCriterion("point <", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointLessThanOrEqualTo(Integer value) {
            addCriterion("point <=", value, "point");
            return (Criteria) this;
        }

        public Criteria andPointIn(List<Integer> values) {
            addCriterion("point in", values, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotIn(List<Integer> values) {
            addCriterion("point not in", values, "point");
            return (Criteria) this;
        }

        public Criteria andPointBetween(Integer value1, Integer value2) {
            addCriterion("point between", value1, value2, "point");
            return (Criteria) this;
        }

        public Criteria andPointNotBetween(Integer value1, Integer value2) {
            addCriterion("point not between", value1, value2, "point");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditIsNull() {
            addCriterion("recharge_credit is null");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditIsNotNull() {
            addCriterion("recharge_credit is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditEqualTo(BigDecimal value) {
            addCriterion("recharge_credit =", value, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditNotEqualTo(BigDecimal value) {
            addCriterion("recharge_credit <>", value, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditGreaterThan(BigDecimal value) {
            addCriterion("recharge_credit >", value, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_credit >=", value, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditLessThan(BigDecimal value) {
            addCriterion("recharge_credit <", value, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditLessThanOrEqualTo(BigDecimal value) {
            addCriterion("recharge_credit <=", value, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditIn(List<BigDecimal> values) {
            addCriterion("recharge_credit in", values, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditNotIn(List<BigDecimal> values) {
            addCriterion("recharge_credit not in", values, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_credit between", value1, value2, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andRechargeCreditNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("recharge_credit not between", value1, value2, "rechargeCredit");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Long value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Long value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Long value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Long value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Long value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Long value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Long> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Long> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Long value1, Long value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Long value1, Long value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andMigrateIdIsNull() {
            addCriterion("migrate_id is null");
            return (Criteria) this;
        }

        public Criteria andMigrateIdIsNotNull() {
            addCriterion("migrate_id is not null");
            return (Criteria) this;
        }

        public Criteria andMigrateIdEqualTo(Long value) {
            addCriterion("migrate_id =", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdNotEqualTo(Long value) {
            addCriterion("migrate_id <>", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdGreaterThan(Long value) {
            addCriterion("migrate_id >", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdGreaterThanOrEqualTo(Long value) {
            addCriterion("migrate_id >=", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdLessThan(Long value) {
            addCriterion("migrate_id <", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdLessThanOrEqualTo(Long value) {
            addCriterion("migrate_id <=", value, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdIn(List<Long> values) {
            addCriterion("migrate_id in", values, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdNotIn(List<Long> values) {
            addCriterion("migrate_id not in", values, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdBetween(Long value1, Long value2) {
            addCriterion("migrate_id between", value1, value2, "migrateId");
            return (Criteria) this;
        }

        public Criteria andMigrateIdNotBetween(Long value1, Long value2) {
            addCriterion("migrate_id not between", value1, value2, "migrateId");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountIsNull() {
            addCriterion("all_give_amount is null");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountIsNotNull() {
            addCriterion("all_give_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountEqualTo(BigDecimal value) {
            addCriterion("all_give_amount =", value, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountNotEqualTo(BigDecimal value) {
            addCriterion("all_give_amount <>", value, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountGreaterThan(BigDecimal value) {
            addCriterion("all_give_amount >", value, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("all_give_amount >=", value, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountLessThan(BigDecimal value) {
            addCriterion("all_give_amount <", value, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("all_give_amount <=", value, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountIn(List<BigDecimal> values) {
            addCriterion("all_give_amount in", values, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountNotIn(List<BigDecimal> values) {
            addCriterion("all_give_amount not in", values, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_give_amount between", value1, value2, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andAllGiveAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("all_give_amount not between", value1, value2, "allGiveAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountIsNull() {
            addCriterion("upper_amount is null");
            return (Criteria) this;
        }

        public Criteria andUpperAmountIsNotNull() {
            addCriterion("upper_amount is not null");
            return (Criteria) this;
        }

        public Criteria andUpperAmountEqualTo(BigDecimal value) {
            addCriterion("upper_amount =", value, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountNotEqualTo(BigDecimal value) {
            addCriterion("upper_amount <>", value, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountGreaterThan(BigDecimal value) {
            addCriterion("upper_amount >", value, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("upper_amount >=", value, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountLessThan(BigDecimal value) {
            addCriterion("upper_amount <", value, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("upper_amount <=", value, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountIn(List<BigDecimal> values) {
            addCriterion("upper_amount in", values, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountNotIn(List<BigDecimal> values) {
            addCriterion("upper_amount not in", values, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("upper_amount between", value1, value2, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andUpperAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("upper_amount not between", value1, value2, "upperAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountIsNull() {
            addCriterion("save_amount is null");
            return (Criteria) this;
        }

        public Criteria andSaveAmountIsNotNull() {
            addCriterion("save_amount is not null");
            return (Criteria) this;
        }

        public Criteria andSaveAmountEqualTo(BigDecimal value) {
            addCriterion("save_amount =", value, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountNotEqualTo(BigDecimal value) {
            addCriterion("save_amount <>", value, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountGreaterThan(BigDecimal value) {
            addCriterion("save_amount >", value, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("save_amount >=", value, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountLessThan(BigDecimal value) {
            addCriterion("save_amount <", value, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("save_amount <=", value, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountIn(List<BigDecimal> values) {
            addCriterion("save_amount in", values, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountNotIn(List<BigDecimal> values) {
            addCriterion("save_amount not in", values, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("save_amount between", value1, value2, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andSaveAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("save_amount not between", value1, value2, "saveAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCountIsNull() {
            addCriterion("order_count is null");
            return (Criteria) this;
        }

        public Criteria andOrderCountIsNotNull() {
            addCriterion("order_count is not null");
            return (Criteria) this;
        }

        public Criteria andOrderCountEqualTo(Long value) {
            addCriterion("order_count =", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountNotEqualTo(Long value) {
            addCriterion("order_count <>", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountGreaterThan(Long value) {
            addCriterion("order_count >", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountGreaterThanOrEqualTo(Long value) {
            addCriterion("order_count >=", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountLessThan(Long value) {
            addCriterion("order_count <", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountLessThanOrEqualTo(Long value) {
            addCriterion("order_count <=", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountIn(List<Long> values) {
            addCriterion("order_count in", values, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountNotIn(List<Long> values) {
            addCriterion("order_count not in", values, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountBetween(Long value1, Long value2) {
            addCriterion("order_count between", value1, value2, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountNotBetween(Long value1, Long value2) {
            addCriterion("order_count not between", value1, value2, "orderCount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountIsNull() {
            addCriterion("payment_refund_account is null");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountIsNotNull() {
            addCriterion("payment_refund_account is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountEqualTo(BigDecimal value) {
            addCriterion("payment_refund_account =", value, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountNotEqualTo(BigDecimal value) {
            addCriterion("payment_refund_account <>", value, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountGreaterThan(BigDecimal value) {
            addCriterion("payment_refund_account >", value, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("payment_refund_account >=", value, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountLessThan(BigDecimal value) {
            addCriterion("payment_refund_account <", value, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("payment_refund_account <=", value, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountIn(List<BigDecimal> values) {
            addCriterion("payment_refund_account in", values, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountNotIn(List<BigDecimal> values) {
            addCriterion("payment_refund_account not in", values, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payment_refund_account between", value1, value2, "paymentRefundAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentRefundAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("payment_refund_account not between", value1, value2, "paymentRefundAccount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}